package trying;

import java.util.ArrayList;
import java.util.List;

public class GetClass {
    public static void main(String[] args) {
        List<String> aList = new ArrayList<>();
        List<Integer> bList = new ArrayList<>();
        System.out.println(aList.getClass() == bList.getClass());
        System.out.println(aList.equals(bList));
        System.out.println(aList == (Object) bList);
    }
}
